extends "../cTDR/cTDR.gd"
func _info():
	pass

func _connect():
	._connect()

func _extInit():
	._extInit()
	chaName = "猎人"
	lv = 2
	attCoe.atkRan = 2
	attCoe.atk = 14 / 8.5 * 2 / 2
	attCoe.maxHp = 550 / 112.5 / 2
	addSkillTxt("宠物：开局召唤一只鹰[Tips:召唤的宠物血量(30%)和攻击(50%)受猎人属性影响]")

func _onBattleStart():
	._onBattleStart()
	var ncha = newChara("cex___Hide_pet1",self.cell)
	if !ncha:
		var cells = utils.getAllyCells(team)
		for i in cells:
			ncha = newChara("cex___Hide_pet1",i)
			if ncha:break
	if ncha:
		ncha.attInfo.maxHp += att.maxHp * 0.3
		ncha.attInfo.atk += att.atk * 0.5
		ncha.upAtt()
		ncha.plusHp(ncha.att.maxHp)
